package com.jinsilu.freight.http.request;

import com.hjq.http.config.IRequestApi;

/**
 * 从业资格证认证
 *
 * @author yangyang
 * @time 2020-11-19 11:15
 */
public class VerifyQualificationApi implements IRequestApi {

    private String professionalQualificationUrl;
    private String professionalQualificationNumber;

    String validStartDate;
    String validEndDate;

    @Override
    public String getApi() {
        return "api/certification/driver/professionalQualification";
    }

    public VerifyQualificationApi setProfessionalQualificationUrl(String professionalQualificationUrl) {
        this.professionalQualificationUrl = professionalQualificationUrl;
        return this;
    }

    public VerifyQualificationApi setProfessionalQualificationNumber(String professionalQualificationNumber) {
        this.professionalQualificationNumber = professionalQualificationNumber;
        return this;
    }

    public VerifyQualificationApi setValidStartDate(String validStartDate) {
        this.validStartDate = validStartDate;
        return this;
    }

    public VerifyQualificationApi setValidEndDate(String validEndDate) {
        this.validEndDate = validEndDate;
        return this;
    }
}
